.class Lcom/kwad/sdk/api/loader/DFileLock$2;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/kwad/sdk/api/loader/DFileLock$LockCallback;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/kwad/sdk/api/loader/DFileLock;->tryLockFile(Landroid/content/Context;Lcom/kwad/sdk/api/loader/DFileLock$LockListener;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/kwad/sdk/api/loader/DFileLock;

.field final synthetic val$listener:Lcom/kwad/sdk/api/loader/DFileLock$LockListener;


# direct methods
.method constructor <init>(Lcom/kwad/sdk/api/loader/DFileLock;Lcom/kwad/sdk/api/loader/DFileLock$LockListener;)V
    .locals 0

    iput-object p1, p0, Lcom/kwad/sdk/api/loader/DFileLock$2;->this$0:Lcom/kwad/sdk/api/loader/DFileLock;

    iput-object p2, p0, Lcom/kwad/sdk/api/loader/DFileLock$2;->val$listener:Lcom/kwad/sdk/api/loader/DFileLock$LockListener;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run(Ljava/nio/channels/FileLock;)V
    .locals 1

    if-nez p1, :cond_0

    iget-object p1, p0, Lcom/kwad/sdk/api/loader/DFileLock$2;->val$listener:Lcom/kwad/sdk/api/loader/DFileLock$LockListener;

    const/4 v0, 0x0

    goto :goto_0

    :cond_0
    iget-object p1, p0, Lcom/kwad/sdk/api/loader/DFileLock$2;->val$listener:Lcom/kwad/sdk/api/loader/DFileLock$LockListener;

    const/4 v0, 0x1

    :goto_0
    invoke-interface {p1, v0}, Lcom/kwad/sdk/api/loader/DFileLock$LockListener;->onComplete(Z)V

    return-void
.end method
